/*
 * @Author: 吴世扬 18368095041@163.com
 * @Date: 2024-04-28 15:52:22
 * @LastEditors: 吴世扬 18368095041@163.com
 * @LastEditTime: 2025-02-05 16:10:33
 * @FilePath: /vue3-admin/src/api/dict.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { request } from '@/utils';

export const readDictType = (type: string) => {
    return request<HttpResult<DictType[]>>({
        url: `/admin/api/dict/${type}`,
        method: 'get'
    }).then((res) => res.data);
};

// export const queryClassifiedType = () => {
//     return request<HttpResult<DictType[]>>({
//         url: `/admin/api/dict/classifiedType`,
//         method: 'get'
//     }).then(res => res.data);
// };
